package com.btkjgc.models;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


/**
 * ExchangeElectricRecord entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "exchange_electric_record_t")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ExchangeElectricRecord extends Base implements java.io.Serializable {

	// Fields
	private Integer id;
	private Integer del;
	private Integer carAccountid;
	private Integer siteid;
	private Integer fare;
	private Integer postageType;
	private Integer postageid;
	private Integer status;
	private String comment;
	private Timestamp createdate;
	private Integer soc;
	private Integer tbox;
	private Integer freeFrequency;
	private Integer freeFrequencySum;
	private Integer freeMileage;
	private Integer freeMileageSum;
	private Integer travelMileage;
	private String serialNum;
	private Integer before_consum_balance;
	private Integer after_consum_balance;
	private Integer company_available_balance;
	private Integer carId;
	private String acountId;
	private Integer refermiles;
	@Id  
	@Column(name="id",unique=true)  
    @GeneratedValue(strategy=GenerationType.AUTO)  
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	 

	public Integer getCarAccountid() {
		return carAccountid;
	}

	public void setCarAccountid(Integer carAccountid) {
		this.carAccountid = carAccountid;
	}

	public Integer getSiteid() {
		return siteid;
	}

	public void setSiteid(Integer siteid) {
		this.siteid = siteid;
	}

	public Integer getFare() {
		return fare;
	}

	public void setFare(Integer fare) {
		this.fare = fare;
	}

	
	public Integer getPostageType() {
		return postageType;
	}

	public void setPostageType(Integer postageType) {
		this.postageType = postageType;
	}

	public Integer getPostageid() {
		return postageid;
	}

	public void setPostageid(Integer postageid) {
		this.postageid = postageid;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Timestamp getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

	public Integer getSoc() {
		return soc;
	}

	public void setSoc(Integer soc) {
		this.soc = soc;
	}

	public Integer getTbox() {
		return tbox;
	}

	public void setTbox(Integer tbox) {
		this.tbox = tbox;
	}

	public Integer getFreeFrequency() {
		return freeFrequency;
	}

	public void setFreeFrequency(Integer freeFrequency) {
		this.freeFrequency = freeFrequency;
	}

	public Integer getFreeFrequencySum() {
		return freeFrequencySum;
	}

	public void setFreeFrequencySum(Integer freeFrequencySum) {
		this.freeFrequencySum = freeFrequencySum;
	}

	public Integer getFreeMileage() {
		return freeMileage;
	}

	public void setFreeMileage(Integer freeMileage) {
		this.freeMileage = freeMileage;
	}

	public Integer getFreeMileageSum() {
		return freeMileageSum;
	}

	public void setFreeMileageSum(Integer freeMileageSum) {
		this.freeMileageSum = freeMileageSum;
	}

	public Integer getTravelMileage() {
		return travelMileage;
	}

	public void setTravelMileage(Integer travelMileage) {
		this.travelMileage = travelMileage;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public Integer getBefore_consum_balance() {
		return before_consum_balance;
	}

	public void setBefore_consum_balance(Integer before_consum_balance) {
		this.before_consum_balance = before_consum_balance;
	}

	public Integer getAfter_consum_balance() {
		return after_consum_balance;
	}

	public void setAfter_consum_balance(Integer after_consum_balance) {
		this.after_consum_balance = after_consum_balance;
	}

	public Integer getCompany_available_balance() {
		return company_available_balance;
	}

	public void setCompany_available_balance(Integer company_available_balance) {
		this.company_available_balance = company_available_balance;
	}

	public Integer getCarId() {
		return carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

	public String getAcountId() {
		return acountId;
	}

	public void setAcountId(String acountId) {
		this.acountId = acountId;
	}

	public Integer getRefermiles() {
		return refermiles;
	}

	public void setRefermiles(Integer refermiles) {
		this.refermiles = refermiles;
	}

}